import { createRouter,createWebHistory } from "vue-router";

const router = createRouter({
  history:createWebHistory(),
  routes:[
    {
      path:'/',
      redirect:'/adminLogin'
    },
    {
      path:'/adminLogin',
      component:()=>import('../views/adminLogin.vue')
    },
    {
      path:'/adminList',
      component:()=>import('../views/adminList.vue')
    },
    {
      path:'/adminUpdate',
      component:()=>import('../views/adminUpdate.vue')
    }
  ]
})
export default router